using UnityEngine;

public class GGKeyboardInput : MonoBehaviour
{
	public delegate void ShowTextInput(string title, string text);

	public delegate void OnTextInputReceived(string message, bool succes);

	public static ShowTextInput textInputShower;

	public static event OnTextInputReceived onInput;

	public static void NotifyOfTextInput(string message, bool succes)
	{
		if (GGKeyboardInput.onInput != null)
		{
			GGKeyboardInput.onInput(message, succes);
		}
	}

	public static void ShowInput(string header, string text)
	{
		if (textInputShower != null)
		{
			textInputShower(header, text);
		}
	}
}
